import static org.junit.jupiter.api.Assertions.*;

class tritypTest {

    @org.junit.jupiter.api.Test
    void triang() {
        // None of the edges are negative or zero
        assertEquals(4, trityp.Triang(0, 1, 1));
        assertEquals(4, trityp.Triang(1, -1, 1));
        // Any two sides are unequal and do not form a triangle
        assertEquals(4, trityp.Triang(1, 2, 3));
        // If triangle is equilateral
        assertEquals(3, trityp.Triang(1, 1, 1));
        // Neither side is greater than the third
        assertEquals(4, trityp.Triang(1, 1, 2));
        // It to be scalene
        assertEquals(1, trityp.Triang(2, 3, 4));
        // If triangle is isosceles
        assertEquals(2, trityp.Triang(2, 2, 3));
        assertEquals(2, trityp.Triang(2, 3, 2));
        assertEquals(2, trityp.Triang(3, 2, 2));
    }
}